﻿using System;
using System.ServiceModel;
using RM.Entities;
using System.Collections.Generic;
namespace RM.Web.Services
{
    [ServiceContract]
    interface ILogService
    {
        [OperationContract(Name = "Log_GetAll")]
        IList<OperationLog> GetAll();

        [OperationContract(Name = "Log_Save")]
        [ReferencePreservingDataContractFormat]
        void Save(OperationLog question);

        [OperationContract(Name = "Log_Update")]
        void Update(OperationLog question);

        [OperationContract(Name = "Log_GetById")]
        OperationLog GetById(int Id);

    }
}
